//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package info.sean.logger;


import java.util.Collections;
import java.util.Map;
import java.util.concurrent.Callable;

class EmptyTracer implements Tracer {
    EmptyTracer() {
    }

    public Span createSpan(String type, String name) {
        return new EmptySpan();
    }

    public Span createEmpty() {
        return new EmptySpan();
    }

    public Map<String, String> getContext() {
        return Collections.emptyMap();
    }

    public Map<String, String> getContext4Async() {
        return Collections.emptyMap();
    }

    public void buildContext(Map<String, String> context, boolean reJoin) {
    }

    public <V> Callable<V> wrap(Callable<V> callable) {
        return callable;
    }

    public Runnable wrap(Runnable runnable) {
        return runnable;
    }

    public String getTraceId() {
        return " empty-trace-id ";
    }

    public TraceHelper create(TraceLinker linker) {
        return new TraceHelper() {
            public void send() {
            }

            public void receive() {
            }
        };
    }

    public String getDomainName() {
        return "NA";
    }

    public void buildContext(String messageId, String parentId, String rootId) {
    }
}
